    <div class="ldTool" style="<?if($_GET['noheader']){echo "display:none";}?>">
        <div class="wrpLdTl">
            <div class="wrpBtnLdIt">
            <?if(!$data['data']['productid']){?>
                <div class="btnLdIt wrpCloseLd" onclick="closepopupsubmain()">
                    <div class="btnIco closeLd" title="Close">
                        <span class="ico icoCloseLd"></span>
                    </div>
                </div>
            <?}?>

                <div class="btnLdIt wrpTlLd">
                    <div class="tlLd">
                        <div class="wrpInTlLd wrpLikeLd" <?if($data['data']['productid']){?> onclick="favfunction(<?=$data['data']['productid']?>)" <?}?>>
                            <div class="btnIco unLikeLd clBd3 bdBtm">
                                <span class="ico icoUnLikeLd <?if($data['data']['checklike']){?>icoLikeLd<?}?>" ></span>
                            </div>
                            <div class="genMenuListPop numLikeFlw numLike">
                                <div class="wrpMenuListPop wrpNumLikeFlw">
                                    <div class="triLd"></div>
                                    <div class="wrpMLP">
                                        <div class="mLP clBg5 clTxt3 fs02">
                                            <div class="btnNumLikeFlw"><?=$data['data']['countlike']?> Like</div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        
                        <div class="wrpInTlLd wrpBmLd" <?if($data['data']['productid']){?> onclick="likefunction(<?=$data['data']['productid']?>)" <?}?>>
                            <div class="btnIco unBmLd clBd3 bdBtm">
                                <span class="ico icoBmLd <?if($data['data']['checkbookmark']){?>icoUnBmLd<?}?>"></span>
                            </div>
                            
                            <div class="genMenuListPop numBmFlw numBm">
                                <div class="wrpMenuListPop wrpNumLikeFlw">
                                    <div class="triLd"></div>
                                    <div class="wrpMLP">
                                        <div class="mLP clBg5 clTxt3 fs02">
                                            <div class="btnNumBmFlw"><?=$data['data']['countbookmark']?> Bookmark</div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            
                            </div>
                            
                        <div class="wrpInTlLd wrpFlwLd" <?if($data['data']['productid']){?> onclick="followfunction(<?=$data['data']['productid']?>,<?=$data['data']['createby']?>)" <?}?>>
                            <div class="btnIco flwLd clBd3 bdBtm" >
                                <span class="ico icoFlwLd <?if($data['data']['checkfollow']===3){?>icoFlwWaitLd<?}else if($data['data']['checkfollow']){?>icoFlwedLd<?}?>"></span>
                            </div>
                            <div class="genMenuListPop numLikeFlw numFlw">
                                <div class="wrpMenuListPop wrpNumLikeFlw">
                                    <div class="triLd"></div>
                                    <div class="wrpMLP">
                                        <div class="mLP clBg5 clTxt3 fs02">
                                            <div class="btnNumLikeFlw"><?=$data['data']['countfollow']?> Follow</div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="wrpInTlLd wrpShrLd">
                            <div class="btnIco shrLd clBd3 bdBtm" >
                                <span class="ico icoShrLd"></span>
                            </div>
                            <div class="shrMenuListPop shrLdPop">
                                <div class="wrpMenuListPop">
                                    <div class="triLd"></div>
                                    <div class="wrpMLP">
                                        <div class="bgMLPT clBg5"></div>
                                        <div class="ttlList clBd2 clBg5 clTxt2 fs04 cutTxt bdBtm">
                                            <span>Share</span>
                                        </div>
                                        <div class="mLP clBg5 clTxt3 fs04">
                                            <div class="btnMLP" <?if($data['data']['productid']){?> onclick="sharefunction(0,<?=$data['data']['productid']?>,'<?=$data['data']['link']?>')" <?}?>>                            
                                                <div class="fbShr">
                                                    <span class="ico icoFbShr"></span>
                                                </div>
                                                <span>Facebook</span>
                                            </div>
                                            <div class="btnMLP" <?if($data['data']['productid']){?> onclick="sharefunction(1,<?=$data['data']['productid']?>,'<?=$data['data']['link']?>')" <?}?>>                            
                                                <div class="twShr">
                                                    <span class="ico icoTwShr"></span>
                                                </div>
                                                <span>Twitter</span>
                                            </div>
                                            <div class="btnMLP" <?if($data['data']['productid']){?> onclick="sharefunction(2,<?=$data['data']['productid']?>,'<?=$data['data']['link']?>')" <?}?>>                            
                                                <div class="gpShr">
                                                    <span class="ico icoGpShr"></span>
                                                </div>
                                                <span>Google Plus</span>
                                            </div>
                                             
                                            <div class="btnMLP btnBc" <?if($data['data']['productid']){?> onclick="sharefunction(3,<?=$data['data']['productid']?>,'<?=$data['data']['link']?>')" <?}?>  <?if(!$data['user']['userid']){?> style="display: none;"  <?}?> >                            
                                                <div class="bcShr">
                                                    <span class="ico icoBcShr"></span>
                                                </div>
                                                <span>Broadcast</span>
                                            </div>
                                            
                                            <div class="btnMLP btnEb" <?if($data['data']['productid']){?> onclick="sharefunction(4,<?=$data['data']['productid']?>,'<?=$data['data']['link']?>')" <?}?>  >                            
                                                <div class="ebShr">
                                                    <span class="ico icoEbShr"></span>
                                                </div>
                                                <span>Embed</span>
                                            </div>
                                            
                                            <div class="btnMLP" <?if($data['data']['productid']){?> onclick="sharefunction(5,<?=$data['data']['productid']?>,'<?=$data['data']['link']?>')" <?}?>  >                            
                                                <div class="ebShr">
                                                    <span class="ico icoEbShr"></span>
                                                </div>
                                                <span>QR Code</span>
                                            </div>
                                            
                                              <div id="d_clip_container"   class="btnMLP btnCb"   >  
                                               <div id="d_clip_button" width="170" height="100" style="display: none;"></div>                          
                                                <div   class="ebShr">
                                                    <span class="ico icoCbShr"></span>
                                                </div>
                                                <span >Copy Link</span>
                                            </div>
                                            
                                            
                                            
                                            
                                           

                                            
                                            
                                        </div>
                                        <div class="bgMLPB clBg5"></div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="wrpInTlLd wrpRptLd">
                            <div class="btnIco rptLd" >
                                <span class="ico icoRptLd"></span>
                            </div>
                            <div class="genMenuListPop rptMenu">
                                <div class="wrpMenuListPop wrpRptMenu">
                                    <div class="wrpMLP">
                                        <div class="triLd"></div>
                                        <div class="bgMLPT clBg5"></div>
                                        <div class="ttlList clBd2 clBg5 clTxt2 fs04 cutTxt bdBtm">
                                            <span>Report</span>
                                        </div>
                                        <div class="mLP clBg5 clTxt3 fs04">
                                            <div class="btnMLP" <?if($data['data']['productid']){?>  onclick="openreport(1,<?=$data['data']['productid']?>,0)" <?}?> >Spam</div>
                                            <div class="btnMLP" <?if($data['data']['productid']){?>  onclick="openreport(2,<?=$data['data']['productid']?>,0)" <?}?>>Story</div>
                                        </div>
                                        <div class="bgMLPB clBg5"></div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <?if($data['user']['roleid']){?>
                        <?if($data['data']['productid']&&($data['user']['roleid']=='3'||$data['data']['createby']==$data['user']['userid'])){?>
                        <div class="wrpInTlLd wrpEdtLd">
                                                        <div title="Edit" class="btnIco edtLd" onclick="redirectto(baseinfo+'/<?=$data['data']['feature']['link']?>/add/<?=$data['data']['productid']?>');">
                                                            <span class="ico icoEdtCell"></span>
                                                        </div>
                                                    </div>
                        <?}}?>
                    </div>
                </div>
                 <?if(!$data['data']['productid']){?>
                <div class="btnLdIt wrpSlideLd">
                    <div class="slideLd">
                        <div class="btnIco slideLdR clBd3 bdBtm" >
                            <span class="ico icoSlideLdR"></span>
                            
                            <div class="genMenuListPop numNextFlw nextFlw">
                                <div class="wrpMenuListPop wrpNumNextFlw">
                                    <div class="triLd"></div>
                                    <div class="wrpMLP">
                                        <div class="mLP clBg5 clTxt3 fs02">
                                            <div class="btnNumNextFlw">Next</div>
                                        </div>
                                    </div>
                                </div>
                            </div>

                        </div>
                        <div class="btnIco slideLdL" >
                            <span class="ico icoSlideLdL"></span>
                            
                            <div class="genMenuListPop numPreviousFlw  previouFlw">
                                <div class="wrpMenuListPop wrpNumPreviousFlw">
                                    <div class="triLd"></div>
                                    <div class="wrpMLP">
                                        <div class="mLP clBg5 clTxt3 fs02">
                                            <div class="btnNumNextFlw">Previous</div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            
                        </div>
                    </div>
                </div>
                <?}?>
            </div>
        </div>
    </div>  